
import * as types from './type.js' 
//import (引入) * (所有export属性) as (到) types (types变量) from (从) 
export default{  
  showloader:({ commit }) => {  
    commit( types.SHOWLOADING )  
  },  
  hideloader:({ commit }) => {  
    commit( types.HIDELOADING )  
  },  
  showuserifonS:({ commit }) => {  
    commit( types.SHOWUSERIFON )  
  },  
  hideuserifonS:({ commit }) => {  
    commit( types.HIDEUSREIFON )  
  }, 
  showContents:({ commit }) => {  
    commit( types.SHOWCONTENT )  
  },  
  hideContents:({ commit }) => {  
    commit( types.HIDECONTENT )  
  }, 
  showifoncenter:({ commit }) => {  
    commit( types.SHOWIFONCENTER )  
  },  
  hideifoncenter:({ commit }) => {  
    commit( types.HIDEIFONCENTER )  
  }, 
  //调用判断路由调用次数(作废)
  routerevent:({ commit }) => {  
    commit( types.SHOWROUTER)  
  },  
  routerevents:({ commit }) => {  
    commit( types.HIDEROUTER)  
  }, 

}